<?php

/**
 *   OPENSHOP 调用日历 JS
 * 
 *   @link        http://baison.com.cn
 *   @copyright   Baison, Inc.
 *   @package     OpenShop
 *   @version     $Id: calendar.php,v 1.0 2009/06/16 09:45:58 modified $
 *   @author      FillBag <fillbag@hotmail.com>
 */


require(dirname(dirname(__FILE__)) . '/data/config.php');
header('Content-type: application/x-javascript; charset=' . OS_CHARSET);

include_once('./calendar/calendar.zh_cn.php');

foreach ($calendar_lang AS $cal_key => $cal_data)
{
    echo 'var ' . $cal_key . " = \"" . $cal_data . "\";\r\n";
}

include_once('./calendar/calendar.js');

?>